package com.hst.web.sys.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.hst.core.annotation.Comment;

/**
 * 
 * @author Luwenjie
 *
 */
@Entity
@Table(name="t_dept_managerinfo")
@Comment("管理员所辖部门表")
public class TUserDept implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Comment("用户id")
	@Id
	@Column(length=20,name="id_user")
	private String userid;
	
	@Comment("部门编号")
	@Id
	@Column(length=20,name="dept_code")
	private String deptCode;

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getDeptCode() {
		return deptCode;
	}

	public void setDeptCode(String deptCode) {
		this.deptCode = deptCode;
	}
}
